﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace WebApplication13
{
    public partial class NestedMasterPage1 : System.Web.UI.MasterPage
    {
        public int todayVisit;
        public int yesterDayVisit;
        public string onlineUser;
        public int totalVisitors;
        protected void Page_Load(object sender, EventArgs e)
        {
            Paltop_.Controllers.UserlogController a = new Paltop_.Controllers.UserlogController();
            todayVisit=a.TodayVisit();
            yesterDayVisit = a.YesterDayVisit();
            onlineUser = Application["onineUser"].ToString();
            totalVisitors = a.TotalVisitors();
        }
    }
}